package com.java.cloud.bookstore.commons.bean;

import java.io.Serializable;

public class Books implements Serializable {
    private Integer id;
    private String bookName;
    private String bookImg;
    private Double bookPrice;
    private String bookDesc;

    public Books(Integer id, String bookName, String bookImg, Double bookPrice, String bookDesc) {
        this.id = id;
        this.bookName = bookName;
        this.bookImg = bookImg;
        this.bookPrice = bookPrice;
        this.bookDesc = bookDesc;
    }

    public Books() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getBookImg() {
        return bookImg;
    }

    public void setBookImg(String bookImg) {
        this.bookImg = bookImg;
    }

    public Double getBookPrice() {
        return bookPrice;
    }

    public void setBookPrice(Double bookPrice) {
        this.bookPrice = bookPrice;
    }

    public String getBookDesc() {
        return bookDesc;
    }

    public void setBookDesc(String bookDesc) {
        this.bookDesc = bookDesc;
    }

    @Override
    public String toString() {
        return "Books{" +
                "id=" + id +
                ", bookName='" + bookName + '\'' +
                ", bookImg='" + bookImg + '\'' +
                ", bookPrice=" + bookPrice +
                ", bookDesc='" + bookDesc + '\'' +
                '}';
    }
}
